﻿package com.ishuangmu.entity;

import java.util.Date;

/**
 * 帖子实体类
 * @author user
 *
 */
public class Article {

	private Integer id; // 编号
 	private String title; // 标题
	private String content; // 内容
	private String img; // 封页图片
	private String summary; // 摘抄
	private String author; // 作者
 	private Integer clickHit; // 浏览次数
	private ArcType arcType; // 帖子类别 
	private String tags; // 帖子标签
	private String orUrl; // 原始地址
	private Integer state; // 帖子状态 0 未发布 1发布   默认0
	private Date releaseDate; // 发布日期
	private Date crawlerDate; // 定时
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Integer getClickHit() {
		return clickHit;
	}
	public void setClickHit(Integer clickHit) {
		this.clickHit = clickHit;
	}
	public ArcType getArcType() {
		return arcType;
	}
	public void setArcType(ArcType arcType) {
		this.arcType = arcType;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getOrUrl() {
		return orUrl;
	}
	public void setOrUrl(String orUrl) {
		this.orUrl = orUrl;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Date getReleaseDate() {
		return releaseDate;
	}
	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}
	public Date getCrawlerDate() {
		return crawlerDate;
	}
	public void setCrawlerDate(Date crawlerDate) {
		this.crawlerDate = crawlerDate;
	}
	@Override
	public String toString() {
		return "Article [id=" + id + ", title=" + title + ", content=" + content + ", img=" + img + ", summary="
				+ summary + ", author=" + author + ", clickHit=" + clickHit + ", arcType=" + arcType + ", tags=" + tags
				+ ", orUrl=" + orUrl + ", state=" + state + ", releaseDate=" + releaseDate + ", crawlerDate="
				+ crawlerDate + "]";
	}
	public Article(Integer id, String title, String content, String img, String summary, String author,
			Integer clickHit, ArcType arcType, String tags, String orUrl, Integer state, Date releaseDate,
			Date crawlerDate) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.img = img;
		this.summary = summary;
		this.author = author;
		this.clickHit = clickHit;
		this.arcType = arcType;
		this.tags = tags;
		this.orUrl = orUrl;
		this.state = state;
		this.releaseDate = releaseDate;
		this.crawlerDate = crawlerDate;
	}
	public Article() {
		super();
		// TODO Auto-generated constructor stub
	}
	 
	
	
	
	
}
